package com.lzs.chuku.feign;

import com.lzs.entity.Commodity;
import com.lzs.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 小刘先生
 * @date 2020/11/30 15:16
 */
@FeignClient(value = "baseruku-service")
public interface BaseRukuFeign {
    @GetMapping("/baseruku/commodity/selectCommodityByBar/{bar}")
    public Commodity selectCommodityByBar(@PathVariable String bar);
}
